package com.aop.bean;

import org.springframework.beans.factory.annotation.Autowired;

public class Depend {
	@Autowired
	private Calculate calculate;

	public Depend() {
	}

	public int dependAdd(int a, int b) {
		System.out.println("执行【dependAdd()】方法");
		return calculate.add(a, b);
	}
}
